package com.adfframeworks.labs.service;

import java.util.List;

import com.adfframeworks.labs.domain.Community;

public interface CommunityService {

	public void create(String name, Integer owner, String keyword, Integer visibility);

	public Community getCommunity(Integer id);

	public Community getCommunity(String name);

	public List<Community> listTenLastCommunities();

	public List<Community> listAllCommunities();

	public List<Community> listKeywordCommunities(String keyword);

	public void delete(Integer id);

	public void delete(String name);

	public void update(Integer id, String name, Integer owner, String keyword, Integer visibility);
}
